Font and Align tags

We want the next line of text to stand out on the page, so we will add some special formatting that applies to just that line.

The <FONT> tag allows you to specify the font face, the size in relative or absolute pixel values, and the text color. You use the ALIGN attribute to set the horizontal alignment of the text on the page.

Note To create the Travel back in time paragraph:
  1. Place the cursor on a line below the <HR> tag.
  2. Insert a <P> tag.
  3. Type Travel back in time! after the <P> tag.

    The tag should look like this:

        <P>Travel back in time!</P>
    

    Let's use the <P> editor to complete this tag.

  4. Right-click in the <P> tag and select Edit Tag from the menu.
  5. Select center from the Align box and click Apply to close the editor.

    The ALIGN attribute is added to the tag.

  6. Select the Travel Back In Time! text.
  7. Click the Font button on the Fonts QuickBar to open the <FONT> editor.

  8. Choose Red from the Color drop-down list.
  9. Choose +3 from the Relative + drop-down list.
  10. Click the HTML 4.0 tab.
  11. Choose Arial from the top Font Face drop-down list.
  12. Click Apply.

    The tag now looks like this:

        <P ALIGN="Center"><FONT FACE="Arial" SIZE="+3" COLOR="Red">
        Travel back in time!</FONT>
        </P>
    

Break tag

As mentioned, Web browsers ignore line breaks, tabs, and extra spaces in documents. HTML elements such as paragraphs, lists, and headings each set their own spacing, so if additional spacing is needed, it must be coded.

One way to easily set spacing is by entering a <BR> tag. This can be done to break a line or to separate page content.

Note To insert a line break:
  1. Place the cursor above the Travel back in time! line.
  2. Click the Break button on the Common QuickBar.

  3. Add three more <BR> tags to get the right spacing.
  4. Check the spacing in the browser and adjust it if needed.

The rest of the Archaeology Tours page is laid out as a table, which you'll create in the next set of procedures.